-
Home
-
WooCommerce
-
6.9.2
-
Code
-
Classes
- ObjectCache
Total Complexity |
44 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
391 |
Lines of code |
124 |
Logical lines of code |
71 |
Comment lines |
158 |
Methods |
19 |
Properties |
6 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
set() |
A |
48 |
13 |
28 |
get() |
S |
54 |
6 |
21 |
verify_expiration_value() |
S |
71 |
4 |
5 |
get_cache_key_prefix() |
S |
64 |
3 |
11 |
get_cache_engine() |
S |
68 |
2 |
7 |
create_cache_key_prefix() |
S |
66 |
2 |
8 |
__construct() |
S |
67 |
2 |
7 |
get_object_type() |
S |
100 |
1 |
0 |
serialize() |
S |
80 |
1 |
3 |
get_cache_engine_instance() |
S |
80 |
1 |
3 |
get_from_datastore() |
S |
82 |
1 |
3 |
deserialize() |
S |
80 |
1 |
3 |
remove() |
S |
71 |
1 |
5 |
validate() |
S |
82 |
1 |
3 |
get_object_id() |
S |
82 |
1 |
3 |
is_cached() |
S |
79 |
1 |
3 |
flush() |
S |
71 |
1 |
5 |
get_default_expiration_value() |
S |
82 |
1 |
3 |
get_random_string() |
S |
77 |
1 |
3 |